<template>
	<view>
		<view class="cu-modal" :class="show?'show':''">
		   <view class="cu-dialog">
		    <view class="cu-bar bg-white justify-end">
		     <view class="text-bold content">提示</view>
		    </view>
		    <view class="text-lg padding-xl">
		     与客服小姐姐互动吧~
		    </view>
		    <view class="cu-bar bg-white justify-center">
		     <view class="action">	 
		      <button open-type="contact" class="cu-btn bg-green">确定</button>
		      <button class="cu-btn line-green margin-left-lg text-green" @tap="handleCancel">取消</button>
		  
		     </view>
		    </view>
		   </view>
		  </view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				show:false
			}
		},
		onLoad() {
			this.showModal();
		},
		methods: {
			hideModal(){
				this.show=false;
			},
			showModal(){
				this.show=true;
			},
			handleCancel(){
				this.hideModal();
				uni.navigateBack({
					
				})
			}
		}
	}
</script>

<style>

</style>
